package com.lcf.system.entity;

import com.lcf.framework.model.BaseNoTenantModel;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

/**
 * 租户-用户(SysTenantUser)表实体类
 *
 * @author lcf
 * @since 2025-03-02 23:00:38
 */
@EqualsAndHashCode(callSuper = true)
@Data
@NoArgsConstructor
public class SysTenantUser extends BaseNoTenantModel<SysTenantUser> {
    //租户id
    private Long tenantId;
    //用户id
    private Long userId;

    public SysTenantUser(long tenantId, long userId) {
        this.tenantId = tenantId;
        this.userId = userId;
    }
}

